Basic Concurrency Models Figure 1 : Buffer_v0 Model Figure 2 : Buffer_v0 Semantics
ثبت نشده
چکیده
In this section we introduce shortly the two basic CM considered in this paper. The running example of a FIFO buffer is used here to illustrate their modelling capabilities. The buffer we consider is defined as a set of independent successive cells (cell1, ... , celln). Write (W) and read (R) operations are available. The Write operation, logically, always put a value in the empty cell 'cell1' of the buffer and Read, logically, removes a value from the full cell 'celln'. Values must be read in the order they have been written. This description is left in a abstract way and further constraints or details are given in the next paragraphs. The well known Petri net CM, introduced in 1962 by C.A. Petri, allows the specification of concurrent systems in terms of state variables set (places), events set (transitions) and a flow relation indicating for each event name the pre and post conditions over the state variables set. A place is a bag of resources (tokens) which are all independent inside a place and between several places. A event precondition indicates what resources must be consumed in each net place and the post-condition which resources must be produced. As resources are considered as independent and are shared by all net transition then concurrent behaviour can be modelled in an elegant and easy way. The order relation between events is deduced from the causality relation induced by the flow relation. More precisely, the execution order of transitions is dependent on the places which are considered in the pre or post conditions. For example, simultaneity of transitions is possible when there are no shared places 2 or when enough resources exist in the shared places with respect to the preconditions. Sequence is possible when simultaneity is possible and imposed when an event e' needs resources produced exclusively by an event e. The Petri net semantics is usually given using step sequences or partial languages which express both in an equivalent way the true concurrency of finite Petri nets as it is shown in [ 1] 3. In Figure 1 , we have a Petri net model of the buffer (using the conventionnal graphical representation [ 9] with double arrows for short) whom step semantics is given in Figure 2. The buffer is made of 3 ordered cells b1,b2 and b3 such that values arrive through the cell1 and are removed from the …
منابع مشابه
Comparative Semantics for the Basic Andorra Model
This paper employs techniques from metric semantics in defining and relating an operational and a denotational semantics for a simple abstract language which embodies the main control flow notions of Warren’s Basic Andorra Model. The both semantic models are designed with the ”continuation semantics for concurrency” (CSC) technique.
متن کاملSome Finite-Graph Models for Process Algebra
In this paper, we present a number of closely related models of process algebra [2, 3, 4], called finite-graph models. In a finite-graph model of process algebra, each process is a bisimulafion class of a particular kind of process graphs, called recursive process graphs. Just as in the standard graph model [I], each guarded recursive specification has exactly one solution in a finite-graph mod...
متن کاملThimble: Design-time Analysis of Multi-threaded System Behavior
Commercial multi-core processors promise to provide more processing capacity than their single-core counterparts, in a comparable physical footprint. To fully leverage the increased processing throughput offered by multi-core solutions, however, systems must be explicitly developed with concurrent execution in mind. Today, the predominant approach to building concurrent software is through the ...
متن کاملAction Relations. Basic Design Concepts for Behaviour Modelling and Refinement
ion level n+2 abstraction level n+1 1.2 Design methodology 7 ping of the design model and its design notation onto a formal model is called the formal semantics of the design model and its design notation, respectively. In this way, the formal model allows the use of mathematical models to compare, analyse and manipulate designs. Section 2.3 elaborates on the relationships between a design mode...
متن کاملIntroduction to Database Reverse Engineering
Database reverse engineering mainly deals with schema extraction, analysis and transformation. In the same way as for any other database engineering process, it must rely on a rich set of models. These models must be able to describe data structures at different levels of abstraction, ranging from physical to conceptual, and according to various modeling paradigms. In addition, statically descr...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1996